package com.lagou.mapper;

import com.lagou.pojo.UserInfo;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
    @Select("select * from user_info")
    public List<UserInfo> findAllUser();

    @Select("select * from user_info where username = #{username}")
    public UserInfo findUserInfo(String username);
}
